home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / msdl / example.lha / example-scenes / cgu_backroom.lha / cgu_backroom.msdl next >
Text File  |  1993-11-03  |  26KB  |  2,035 lines

  1.  
  2.                      /*         cgu_backroom.dat            */
  3.  
  4.      /*   THIS IS A SCENE WHICH DESCRIBES THE ROOM SIMILAR TO THE */
  5.      /*    BACK ROOM OF THE CGU IN THE COMPUTER SCIENCE BUILDING  */ 
  6.  
  7. /* This is an approximate model of the backroom of the Manchester Computer */
  8. /* Graphics Unit. Its not really very tidy (just like the real thing :-) */
  9. /* Probably the most interesting thing about it is the model of an X-Terminal*/
  10. /* and the TIFF file shows a close up of the model. */
  11. /* Everything other than a solitary desk has been commented out, so you can */
  12. /* arrange the furniture as you please! */
  13. /* Notice that we placed a single spot light over the desk to get the */
  14. /* image ( i couln't be bothered getting the radiosity ARTCore code working)*/
  15. /* You'll probably want to delete it! */
  16. /* Scene measured Richard Andrews, and messed up by Martin Preston */
  17.  
  18.     /*   anything enclosed by forward slash and stars requires setting  */
  19.  
  20.         view
  21.              from       71.09   384.98   125.84
  22.              towards    512.0 1908.26 -609.27    
  23.              up         0   0   1
  24.     window 0 0 0 0
  25.         end 
  26.  
  27.  
  28.  
  29. defprops
  30.         fluorescent_light
  31.         emission  10.0   10.0    5.0 
  32. end
  33.  
  34.  
  35.  
  36. defprops
  37.         glass
  38.            drc     0      0      0
  39.            src     0.7    0.7    0.7
  40.            phexp  80
  41.            index   1.7    1.7    1.7
  42. end
  43.  
  44.  
  45.  
  46. defprops
  47.         antique_white                  
  48.            drc     0.9  0.9  0.9 
  49.            phexp  10
  50.            /*texture file tile*/
  51. end
  52.  
  53.  
  54.  
  55. defprops
  56.         oak                    
  57.            drc     0.92  0.847  0.447 
  58.            src     0.25  0.25  0.25
  59.            phexp  30
  60.            /*texture file wood*/
  61. end
  62.  
  63.  
  64.  
  65. defprops
  66.         zinc_white
  67.            drc     0.99  0.97  1.0 
  68.            phexp  60
  69. end
  70.  
  71.  
  72.  
  73. defprops
  74.         ivory
  75.            drc     1     1     0.9412
  76.            phexp  10
  77. end
  78.  
  79.  
  80.  
  81. defprops
  82.         lamp_black
  83.            drc     0.01  0.01  0.01
  84.            phexp  10  
  85. end
  86.  
  87.  
  88.  
  89. defprops
  90.         pine                    
  91.            drc     0.59  0.001  0.09 
  92.            src     0.2   0.2   0.2
  93.            phexp  60
  94.            /*texture file wood*/
  95. end
  96.  
  97.  
  98.  
  99. defprops                            
  100.         ivory_black 
  101.            drc       0.16  0.14  0.13
  102.            phexp    5
  103. end
  104.  
  105.  
  106.  
  107. defprops
  108.         beige                  
  109.            drc     0.64  0.58  0.5
  110.            phexp  20
  111. end
  112.  
  113.  
  114.  
  115. defprops                             
  116.         slate_grey_dark
  117.              drc       0.1843 0.3098 0.3098
  118.            phexp  30
  119. end
  120.  
  121.  
  122. defprops                              
  123.         monitor_picture                
  124.            /*texture file graphics*/
  125. end
  126.    
  127.  
  128.  
  129. defprops                            
  130.         ghost_white
  131.            drc       0.9725 0.9725 1.0000     
  132.        phexp  10
  133.            /*texture file breeze_block*/
  134. end
  135.  
  136.  
  137.  
  138. defprops                             
  139.         silver
  140.            drc       0.3   0.3   0.3     
  141.        src       0.7     0.7   0.7
  142.        phexp  40
  143. end
  144.  
  145.  
  146.  
  147. defprops 
  148.         alizarin_crimson
  149.            drc       0.89  0.15  0.21
  150.            phexp  10
  151.            /*texture file carpet_pattern*/
  152. end
  153.  
  154.  
  155.  
  156. defprops                           
  157.         mint_cream
  158.            drc       0.9608 1.0000 0.9804     
  159.            phexp  70
  160. end
  161.  
  162.  
  163.  
  164. defprops
  165.         book_title1                 
  166.            /*texture file picture_perfect*/
  167. end
  168.  
  169.  
  170.  
  171. defprops
  172.         book_title2                     
  173.            /*texture file university_statistics*/
  174. end
  175.  
  176.  
  177.  
  178. defprops
  179.         book_title3                     
  180.            /*texture file graphics_simulation*/
  181. end
  182.  
  183.  
  184.  
  185. defprops
  186.         book_title4                     
  187.            /*texture file visualization*/
  188. end
  189.  
  190.  
  191.  
  192. defprops
  193.         book_title5                     
  194.            /*texture file envisioning_information*/
  195. end
  196.  
  197.  
  198.  
  199. defprops
  200.         book_title6                     
  201.            /*texture file phigs*/
  202. end
  203.  
  204.  
  205.  
  206. defprops
  207.         book_title7                     
  208.            /*texture file ms_dos_5*/
  209. end
  210.  
  211.  
  212.  
  213. defprops
  214.         book_title8                     
  215.            /*texture file turbo_c*/
  216. end
  217.  
  218.  
  219.  
  220. defprops
  221.         book_title9                     
  222.            /*texture file vms*/
  223. end
  224.  
  225.  
  226.  
  227. defprops
  228.         book_title10                     
  229.            /*texture file famous_five_ride_again*/
  230. end
  231.  
  232.  
  233.  
  234. defobj unit_cube 
  235.  
  236.    box 
  237.       0 0 0
  238.       1 1 1
  239.    end
  240.  
  241. end
  242.  
  243.  
  244.  
  245. defobj unitbox
  246.  
  247.    box
  248.       -0.5 -0.5 -0.5
  249.        0.5  0.5  0.5
  250.    end
  251.  
  252. end
  253.  
  254.  
  255.  
  256. defobj monitor_stand
  257.  
  258.    instobj unit_cube
  259.       scale 30 30 1
  260.     rotate z -45
  261.       shift 4 6 6
  262.    end
  263.    
  264.  
  265.    cylinder  19 21 7  
  266.              19 21 15
  267.              5
  268.              instprops beige
  269.    end
  270.        
  271. end    
  272.  
  273.  
  274.  
  275. defobj system_box
  276.  
  277.    instobj unit_cube
  278.       instprops beige
  279.       rotate z -45
  280.       scale 39 36 5
  281.       shift 0 0 1
  282.    end
  283.    
  284.  
  285.    instobj unit_cube
  286.       rotate z -45
  287.       instprops beige
  288.       scale 37 34 1 
  289.       shift 1 1 0
  290.    end
  291.    
  292. end
  293.  
  294.  
  295.  
  296. defobj monitor
  297.  
  298.    polygon
  299.            6
  300.            0 0  30
  301.            0 5  30
  302.            0 5  26
  303.            0 35 22
  304.            0 35 0
  305.            0 0  0  
  306.            instprops beige
  307.     rotate z -45
  308.    end
  309.    
  310.  
  311.    polygon
  312.            4
  313.            0  35 22
  314.            36 35 22    
  315.            36 35 0
  316.            0  35 0
  317.            instprops beige
  318.    rotate z -45
  319.    end
  320.    
  321.  
  322.    polygon 
  323.            4
  324.            0  5  26
  325.            36 5  26
  326.            36 35 22
  327.            0  35 22
  328.            instprops beige
  329.      rotate z -45
  330.    end
  331.    
  332.  
  333.    polygon 
  334.            4
  335.            0  5  30
  336.            36 5  30
  337.            36 5  26
  338.            0  5  26
  339.            instprops beige
  340.      rotate z -45
  341.    end
  342.       
  343.    
  344.    polygon 
  345.            4
  346.            0  0  30
  347.            36 0  30
  348.            36 5  30
  349.            0  5  30
  350.            instprops beige
  351.      rotate z -45
  352.    end
  353.       
  354.  
  355.    polygon
  356.            6
  357.            0 35 22
  358.            0 5  26
  359.            0 5  30
  360.            0 0  30
  361.            0 0  0  
  362.            0 35 0
  363.            instprops beige
  364.      rotate z -45
  365.    end
  366.  
  367. /* Hack */
  368.  
  369.    polygon
  370.            6
  371.            36 35 22
  372.            36 5  26
  373.            36 5  30
  374.            36 0  30
  375.            36 0  0  
  376.            36 35 0
  377.            instprops beige
  378.  
  379.      rotate z -45
  380. /*    shift 29.0 -22.0 0.0 */
  381.    end
  382.    
  383.  
  384.    polygon
  385.            4
  386.            36 0  0
  387.            0  0  0
  388.            0  35 0
  389.            36 35 0
  390.            instprops beige
  391.       rotate z -45
  392.    end
  393.    
  394.  
  395.    polygon
  396.            6
  397.            33 0 30
  398.            0  0 30
  399.            0  0 0
  400.            3  0 0
  401.            3  0 27
  402.            33 0 27 
  403.            instprops beige
  404.      rotate z -45
  405.    end
  406.  
  407.    polygon
  408.            6
  409.            36 0 30
  410.            33 0 30
  411.            33 0 5
  412.            3  0 5
  413.            3  0 0
  414.            36 0 0
  415.            instprops beige
  416.            rotate z -45
  417.    end
  418.    
  419.  
  420.    polygon
  421.            4
  422.            3 1 27
  423.            3 0 27
  424.            3 0 5
  425.            3 1 5
  426.            instprops beige
  427.        rotate z -45
  428.    end
  429.    
  430.  
  431.    polygon
  432.            4
  433.            3  1 5
  434.            3  0 5
  435.            33 0 5
  436.            33 1 5
  437.            instprops beige
  438.      rotate z -45
  439.    end
  440.    
  441.  
  442.    polygon
  443.            4
  444.            33 0 27
  445.            33 1 27
  446.            33 1 5
  447.            33 0 5
  448.            instprops beige
  449.     rotate z -45
  450.    end
  451.    
  452.  
  453.    polygon
  454.            4
  455.            3  0 27
  456.            3  1 27
  457.            33 1 27
  458.            33 0 27
  459.            instprops beige
  460.      rotate z -45
  461.    end
  462.    
  463.  
  464.    polygon
  465.            4
  466.            33 1 27
  467.            3  1 27
  468.            3  1 5
  469.            33 1 5
  470.            instprops monitor_picture
  471.       rotate z -45
  472.    end
  473.   
  474. end
  475.  
  476.  
  477. defobj workstation
  478.  
  479.    instobj system_box
  480.      rotate z -45
  481.    end
  482.    
  483.  
  484.    instobj monitor_stand
  485.      rotate z -45
  486.    end
  487.    
  488.  
  489.    instobj monitor
  490.  
  491.      shift 0 0 7
  492.    end
  493.  
  494. end
  495.  
  496.  
  497.  
  498. defobj desk_top
  499.    instobj unit_cube
  500.       instprops oak
  501.       scale 126 67 2
  502.    end
  503. end
  504.  
  505.  
  506.  
  507. defobj verticalside
  508.    instobj unit_cube
  509.       instprops oak
  510.       scale 2 56 54
  511.    end
  512. end
  513.  
  514.  
  515.  
  516. defobj back_bit
  517.    instobj unit_cube
  518.       instprops oak
  519.       scale 118 2 54
  520.    end
  521. end
  522.  
  523.  
  524.  
  525. defobj handle
  526.    instobj unit_cube
  527.       instprops silver
  528.       scale 10 1 3
  529.    end
  530. end
  531.  
  532. defobj drawer_fronts                   /* note: these polygons are not */
  533.                                         /*          ed           */
  534.    instobj handle
  535.       shift 13 -1 12
  536.    end
  537.    
  538.  
  539.    instobj handle
  540.       shift 13 -1 30
  541.    end
  542.    
  543.  
  544.    instobj handle
  545.       shift 13 -1 48
  546.    end
  547.    
  548.  
  549.    polygon 4
  550.            36 0 18 
  551.            0  0 18
  552.            0  0 0
  553.            36 0 0
  554.            instprops oak
  555.    end
  556.  
  557.    polygon 4
  558.            36 0 36
  559.            0  0 36
  560.            0  0 18
  561.            36 0 18
  562.            instprops oak
  563.    end
  564.  
  565.    polygon 4
  566.            36 0 54
  567.            0  0 54
  568.            0  0 36
  569.            36 0 36
  570.            instprops oak
  571.    end
  572.  
  573. end 
  574.  
  575.  
  576.  
  577. defobj foot
  578.    cylinder 2 2 0 capped
  579.             2 2 2 capped
  580.             2
  581.             instprops ivory_black            
  582.    end
  583. end
  584.  
  585.  
  586.  
  587. defobj long_leg
  588.  
  589.    instobj unit_cube
  590.       instprops ivory_black
  591.       scale 3 3 68
  592.       shift 0 0 2    
  593.    end
  594.    
  595.  
  596.    instobj foot
  597.    end
  598.  
  599. end
  600.  
  601.  
  602.  
  603. defobj ing_bar
  604.  
  605.    instobj unit_cube
  606.       instprops ivory_black
  607.       scale 3 50 3
  608.    end
  609.  
  610. end
  611.  
  612.        
  613.  
  614. defobj short_leg
  615.  
  616.    instobj unit_cube
  617.       instprops ivory_black
  618.       scale 3 3 14
  619.       shift 0 0 2    
  620.    end
  621.    
  622.  
  623.    instobj foot
  624.    end
  625.  
  626. end
  627.  
  628.  
  629.  
  630. defobj desk
  631.  
  632.    instobj desk_top
  633.       shift 0 0 70
  634.    end
  635.    
  636.  
  637.    instobj verticalside
  638.       shift 122 1 16 
  639.    end
  640.    
  641.  
  642.    instobj verticalside
  643.       shift 84 1 16
  644.    end
  645.    
  646.  
  647.    instobj back_bit
  648.       shift 6 57 16
  649.    end
  650.    
  651.  
  652.    instobj drawer_fronts
  653.       shift 86 1 16
  654.    end
  655.    
  656.  
  657.    instobj long_leg
  658.       shift 6 1 0 
  659.    end
  660.    
  661.  
  662.    instobj ing_bar
  663.       shift 6 4 16
  664.    end
  665.    
  666.  
  667.    instobj long_leg
  668.       shift 6 54 0
  669.    end
  670.    
  671.  
  672.    instobj short_leg
  673.       shift 103 10 0
  674.    end
  675.  
  676.    instobj short_leg
  677.       shift 103 50 0
  678.    end  
  679.    
  680. end
  681.  
  682.  
  683. defobj key
  684.  
  685.    polygon 4
  686.            1.5 0.3 1
  687.            0.3 0.3 1
  688.            0   0   0
  689.            1.8 0   0
  690.            instprops beige
  691.    end
  692.    
  693.  
  694.  
  695.  
  696.    polygon 4
  697.            1.5 1.5 1
  698.            1.5 0.3 1
  699.            1.8 0   0
  700.            1.8 1.8 0
  701.            instprops beige
  702.    end
  703.    
  704.  
  705.    polygon 4
  706.            0.3 1.5 1
  707.            1.5 1.5 1
  708.            1.8 1.8 0
  709.            0   1.8 0
  710.            instprops beige
  711.    end
  712.    
  713.  
  714.    polygon 4
  715.            0.3 0.3 1
  716.            0.3 1.5 1
  717.            0   1.8 0
  718.            0   0   0
  719.            instprops beige
  720.    end
  721.    
  722.  
  723.    polygon 4                            /* this polygon is the top of  */
  724.            1.5 1.5 1                    /* the key. So if the function */
  725.            0.3 1.5 1                    /* of the key needs to be shown*/
  726.            0.3 0.3 1                    /*   this is where to do it !  */
  727.            1.5 0.3 1
  728.            instprops beige
  729.    end
  730.  
  731. end
  732.  
  733. defobj nontaperkey
  734.     /* This is a special key used if we don't want it
  735.        to taper off too much at the side!. Otherwise when
  736.        we stretch it we get a key that looks like something out of
  737.        IKEA */
  738.    polygon 4
  739.            1.5 0.0 1
  740.            0.0 0.0 1
  741.            0   0   0
  742.            1.5 0   0
  743.            instprops beige
  744.    end
  745.    
  746.  
  747.  
  748.  
  749.    polygon 4
  750.            1.5 1.5 1
  751.            1.5 0.0 1
  752.            1.5 0   0
  753.            1.5 1.5 0
  754.            instprops beige
  755.    end
  756.    
  757.  
  758.    polygon 4
  759.            0.0 1.5 1
  760.            1.5 1.5 1
  761.            1.5 1.5 0
  762.            0   1.5 0
  763.            instprops beige
  764.    end
  765.    
  766.  
  767.    polygon 4
  768.            0.0 0.0 1
  769.            0.0 1.5 1
  770.            0   1.5 0
  771.            0   0   0
  772.            instprops beige
  773.    end
  774.    
  775.  
  776.    polygon 4                            /* this polygon is the top of  */
  777.            1.5 1.5 1                    /* the key. So if the function */
  778.            0.0 1.5 1                    /* of the key needs to be shown*/
  779.            0.0 0.0 1                    /*   this is where to do it !  */
  780.            1.5 0.0 1
  781.            instprops beige
  782.    end
  783.  
  784. end
  785.  
  786.  
  787.  
  788. defobj row_of_11_keys
  789.  
  790.    instobj key
  791.    end
  792.    
  793.    
  794.    instobj key
  795.       shift 1.8 0 0
  796.    end
  797.    
  798.  
  799.    instobj key
  800.       shift 3.6 0 0
  801.    end
  802.    
  803.    
  804.    instobj key
  805.       shift 5.4 0 0
  806.    end
  807.    
  808.  
  809.    instobj key
  810.       shift 7.2 0 0
  811.    end
  812.    
  813.    
  814.    instobj key
  815.       shift 9 0 0
  816.    end
  817.    
  818.  
  819.    instobj key
  820.       shift 10.8 0 0
  821.    end
  822.    
  823.    
  824.    instobj key
  825.       shift 12.6 0 0
  826.    end
  827.    
  828.  
  829.    instobj key
  830.       shift 14.4 0 0
  831.    end
  832.    
  833.    
  834.    instobj key
  835.       shift 16.2 0 0
  836.    end
  837.    
  838.  
  839.    instobj key
  840.       shift 18 0 0
  841.    end
  842.    
  843.    
  844. end
  845.  
  846.  
  847.  
  848. defobj row_of_4_keys
  849.  
  850.    instobj key
  851.    end
  852.    
  853.    
  854.    instobj key
  855.       shift 1.8 0 0
  856.    end
  857.    
  858.  
  859.    instobj key
  860.       shift 3.6 0 0
  861.    end
  862.    
  863.    
  864.    instobj key
  865.       shift 5.4 0 0
  866.    end
  867.  
  868. end
  869.  
  870.  
  871.  
  872. defobj row_of_3_keys
  873.  
  874.    instobj key
  875.    end
  876.    
  877.    
  878.    instobj key
  879.       shift 1.8 0 0
  880.    end
  881.    
  882.  
  883.    instobj key
  884.       shift 3.6 0 0
  885.    end
  886.  
  887. end
  888.  
  889.  
  890.  
  891. defobj tab_key
  892.   
  893.    instobj key
  894.       scale 1.5 1.0 1.0
  895.    end
  896.  
  897. end
  898.  
  899.  
  900.  
  901. defobj shift_key
  902.  
  903.    instobj key
  904.       scale 2 1.0 1.0
  905.    end
  906.  
  907. end
  908.  
  909.  
  910. defobj return_key
  911.  
  912.    instobj key
  913.       scale 1.0 2 1.0
  914.    end
  915.  
  916. end
  917.  
  918.  
  919.  
  920. defobj space_bar
  921.  
  922.    instobj nontaperkey
  923.       scale 7.5 1.0 1.0
  924.    end
  925.  
  926. end
  927.  
  928.  
  929.  
  930. defobj keyboard
  931.  
  932.      /* The main box of the keyboard */
  933.    instobj unit_cube
  934.       instprops beige
  935.       scale 48 18 2
  936.    end
  937.  
  938.     /*  Top row of function keys  */
  939.    instobj row_of_4_keys
  940.       shift 2 13.8 2
  941.    end
  942.    
  943.  
  944.    instobj row_of_4_keys
  945.       shift 13 13.8 2
  946.    end
  947.    
  948.  
  949.    instobj row_of_4_keys
  950.       shift 23 13.8 2
  951.    end
  952.    
  953.  
  954.    instobj row_of_3_keys
  955.       shift 31.5 13.8 2
  956.    end
  957.    
  958.  
  959.    instobj row_of_4_keys
  960.       shift 39 13.8 2
  961.    end
  962.    
  963.  
  964.  
  965.    instobj row_of_11_keys                     /*     row 1         */
  966.       shift 3 10 2
  967.    end
  968.    
  969.  
  970.    instobj key
  971.       shift 22.8 10 2
  972.    end
  973.    
  974.  
  975.    instobj key
  976.       shift 24.6 10 2
  977.    end
  978.    
  979.  
  980.    instobj tab_key 
  981.       shift 26.4 10 2
  982.    end
  983.    
  984.  
  985.    instobj row_of_3_keys
  986.       shift 31.5 10 2
  987.    end
  988.    
  989.  
  990.    instobj row_of_4_keys
  991.       shift 39 10 2
  992.    end
  993.    
  994.  
  995.    instobj tab_key                             /*      row 2          */
  996.       shift 3 8.2 2
  997.    end
  998.    
  999.  
  1000.    instobj row_of_11_keys
  1001.       shift 5.7 8.2 2
  1002.    end
  1003.    
  1004.  
  1005.    instobj key
  1006.       shift 25.5 8.2 2
  1007.    end
  1008.    
  1009.  
  1010.    instobj row_of_3_keys
  1011.       shift 31.5 8.2 2
  1012.    end
  1013.    
  1014.  
  1015.    instobj row_of_4_keys
  1016.       shift 39 8.2 2
  1017.    end
  1018.    
  1019.  
  1020.    instobj key                            /*         row 3           */
  1021.       shift 1.5 6.4 2
  1022.    end
  1023.    
  1024.  
  1025.    instobj tab_key
  1026.       shift 3.3 6.4 2
  1027.    end
  1028.    
  1029.    
  1030.    instobj row_of_11_keys
  1031.       shift 6 6.4 2
  1032.    end
  1033.    
  1034.  
  1035.    instobj key
  1036.       shift 25.8 6.4 2
  1037.    end
  1038.    
  1039.  
  1040.    instobj return_key
  1041.       shift 27.6 6.4 2
  1042.    end
  1043.    
  1044.  
  1045.    instobj key
  1046.       shift 33.3 6.4 2
  1047.    end
  1048.    
  1049.  
  1050.    instobj row_of_4_keys
  1051.       shift 39 6.4 2
  1052.    end
  1053.    
  1054.  
  1055.    instobj shift_key                       /*      row 4             */   
  1056.       shift 1.5 4.6 2
  1057.    end
  1058.      
  1059.  
  1060.    instobj row_of_11_keys
  1061.       shift 5.1 4.6 2
  1062.    end
  1063.    
  1064.  
  1065.    instobj shift_key
  1066.       shift 24.9 4.6 2
  1067.    end
  1068.    
  1069.  
  1070.    instobj row_of_3_keys
  1071.       shift 31.5 4.6 2
  1072.    end
  1073.    
  1074.  
  1075.    instobj row_of_4_keys
  1076.       shift 39 4.6 2
  1077.    end
  1078.    
  1079.  
  1080.    instobj tab_key                        /*       row 5              */
  1081.       shift 5 2.8 2
  1082.    end
  1083.    
  1084.  
  1085.    instobj tab_key
  1086.       shift 7.7 2.8 2
  1087.    end
  1088.       
  1089.  
  1090.    instobj space_bar
  1091.       shift 10.4 2.8 2
  1092.    end   
  1093.    
  1094.  
  1095.    instobj tab_key
  1096.       shift 23.9 2.8 2
  1097.    end
  1098.    
  1099.  
  1100.    instobj tab_key
  1101.       shift 26.6 2.8 2
  1102.    end
  1103.  
  1104.    instobj row_of_4_keys
  1105.       shift 39 2.8 2
  1106.    end
  1107.  
  1108. end
  1109.  
  1110.  
  1111. defobj chair_foot
  1112.  
  1113.    instobj unitbox
  1114.       instprops silver
  1115.       scale 30 1 4
  1116.    end
  1117.  
  1118. end
  1119.  
  1120.  
  1121.  
  1122. defobj stem
  1123.  
  1124.    cylinder 0 0 4  capped
  1125.             0 0 29 capped
  1126.             2
  1127.             instprops silver
  1128.    end
  1129.    
  1130.  
  1131.    cylinder 0 0 29 capped
  1132.             0 0 49 capped
  1133.             1
  1134.             instprops silver
  1135.    end
  1136.  
  1137. end
  1138.   
  1139.  
  1140.  
  1141. defobj seat
  1142.  
  1143.    instobj unitbox
  1144.       instprops slate_grey_dark
  1145.       scale 42 38 6
  1146.    end
  1147.  
  1148. end  
  1149.  
  1150.  
  1151.     
  1152. defobj seat_bracket
  1153.  
  1154.    instobj unitbox
  1155.       instprops silver
  1156.       scale 6 18 1
  1157.    end
  1158.    
  1159.      
  1160.    instobj unitbox
  1161.       instprops silver
  1162.       scale 6 1 31
  1163.       shift 0 8.5 1
  1164.    end
  1165.  
  1166. end
  1167.  
  1168.  
  1169.           
  1170. defobj back_bit
  1171.  
  1172.    instobj unitbox
  1173.       instprops slate_grey_dark
  1174.       scale 42 6 28
  1175.    end
  1176.  
  1177. end
  1178.  
  1179.  
  1180. defobj office_chair
  1181.  
  1182.    instobj chair_foot
  1183.    end
  1184.    
  1185.     
  1186.    instobj chair_foot
  1187.       rotate z 90
  1188.    end
  1189.    
  1190.    
  1191.    instobj chair_foot
  1192.       rotate z 90
  1193.    end
  1194.    
  1195.  
  1196.    instobj chair_foot
  1197.       rotate z 90
  1198.    end
  1199.    
  1200.  
  1201.    instobj stem
  1202.    end
  1203.    
  1204.  
  1205.    instobj seat
  1206.       shift 0 0 52
  1207.    end
  1208.  
  1209.    instobj seat_bracket
  1210.       shift 0 23.5 51.5
  1211.    end
  1212.    
  1213.  
  1214.    instobj back_bit
  1215.       shift 0 24 64
  1216.    end
  1217.  
  1218. end
  1219.  
  1220.  
  1221.  
  1222. defobj work_desk
  1223.  
  1224.    instobj desk
  1225.    end
  1226.    
  1227.  
  1228.    instobj workstation
  1229.       shift 77 32 77
  1230.    end
  1231.    
  1232.  
  1233.    instobj keyboard
  1234. /* Hack put in by Martin to get his animator to get it right */
  1235.       scale -1.0 1.0 1.0
  1236.       shift 80 10 72
  1237.  
  1238.    end
  1239.    
  1240.  
  1241. end 
  1242.  
  1243.  
  1244.  
  1245. defobj back_bit
  1246.    instobj unitbox
  1247.       instprops pine
  1248.       scale 104 204 2
  1249.       shift 52 26 0
  1250.    end
  1251. end
  1252.  
  1253.  
  1254.  
  1255. defobj side1
  1256.    instobj unitbox
  1257.       instprops pine
  1258.       scale 2 25 204
  1259.       shift 1 0 0        
  1260.    end
  1261. end
  1262.  
  1263.  
  1264.       
  1265. defobj side2
  1266.    instobj side1
  1267.       instprops pine
  1268.       shift 102 0 0
  1269.    end
  1270. end
  1271.  
  1272.  
  1273.  
  1274. defobj shelfbottom
  1275.    instobj unitbox
  1276.       instprops pine   
  1277.       scale 100 25 2
  1278.       shift 52 12.5 1
  1279.    end  
  1280. end
  1281.  
  1282.  
  1283.  
  1284. defobj shelf1
  1285.    instobj shelfbottom
  1286.       instprops pine    
  1287.       shift 0 202 44
  1288.    end  
  1289. end
  1290.  
  1291.  
  1292.  
  1293. defobj shelf2
  1294.    instobj shelfbottom
  1295.       instprops pine   
  1296.       shift 0 202 84
  1297.    end  
  1298. end
  1299.  
  1300.  
  1301.  
  1302. defobj shelf3
  1303.    instobj shelfbottom
  1304.       instprops pine
  1305.       shift 0 202 124
  1306.    end  
  1307. end
  1308.  
  1309.  
  1310.  
  1311. defobj shelf4
  1312.    instobj shelfbottom
  1313.       instprops pine
  1314.       shift 0 202 164
  1315.    end  
  1316. end
  1317.  
  1318.  
  1319.  
  1320. defobj shelftop
  1321.    instobj shelfbottom
  1322.       instprops pine
  1323.       shift 0 202 204
  1324.    end  
  1325. end
  1326.  
  1327.  
  1328.  
  1329. defobj bookcase
  1330.  
  1331.    instobj back_bit
  1332.    end
  1333.    
  1334.  
  1335.    instobj side1
  1336.    end
  1337.    
  1338.  
  1339.    instobj side2
  1340.    end
  1341.    
  1342.  
  1343.    instobj shelfbottom
  1344.    end
  1345.    
  1346.  
  1347.    instobj shelf1
  1348.    end
  1349.    
  1350.  
  1351.    instobj shelf2
  1352.    end
  1353.    
  1354.  
  1355.    instobj shelf3
  1356.    end
  1357.    
  1358.  
  1359.    instobj shelf4
  1360.    end
  1361.    
  1362.  
  1363.    instobj shelftop
  1364.    end
  1365.    
  1366.  
  1367. end
  1368.  
  1369.  
  1370.  
  1371. defobj book1
  1372.  
  1373.    polygon 4
  1374.            5 0 30
  1375.            0 0 30
  1376.            0 0 0
  1377.            5 0 0
  1378.            instprops book_title1
  1379.    end
  1380.  
  1381. end
  1382.  
  1383.  
  1384.  
  1385. defobj book2
  1386.  
  1387.    polygon 4
  1388.            10 0 30
  1389.            5 0 30
  1390.            5 0 0
  1391.            10 0 0
  1392.            instprops book_title2
  1393.    end
  1394.  
  1395. end
  1396.  
  1397.  
  1398.  
  1399. defobj book3
  1400.  
  1401.    polygon 4
  1402.            15 0 30
  1403.            10  0 30
  1404.            10  0 0
  1405.            15 0 0
  1406.            instprops book_title3
  1407.    end
  1408.  
  1409. end
  1410.  
  1411.  
  1412.  
  1413. defobj book4
  1414.  
  1415.    polygon 4
  1416.            20 0 30
  1417.            15 0 30
  1418.            15 0 0
  1419.            20 0 0
  1420.            instprops book_title4
  1421.    end
  1422.  
  1423. end
  1424.  
  1425.  
  1426.  
  1427. defobj book5
  1428.  
  1429.    polygon 4
  1430.            25 0 30
  1431.            20 0 30
  1432.            20 0 0
  1433.            25 0 0
  1434.            instprops book_title5
  1435.    end
  1436.  
  1437. end
  1438.  
  1439.  
  1440.  
  1441. defobj book6
  1442.  
  1443.    polygon 4
  1444.            30 0 30
  1445.            25 0 30
  1446.            25 0 0
  1447.            30 0 0
  1448.            instprops book_title6
  1449.    end
  1450.  
  1451. end
  1452.  
  1453.  
  1454.  
  1455. defobj book7
  1456.  
  1457.    polygon 4
  1458.            35 0 30
  1459.            30 0 30
  1460.            30 0 0
  1461.            35 0 0
  1462.            instprops book_title7
  1463.    end
  1464.  
  1465. end
  1466.  
  1467.  
  1468.  
  1469. defobj book8
  1470.  
  1471.    polygon 4
  1472.            40 0 30
  1473.            35 0 30
  1474.            35 0 0
  1475.            40 0 0
  1476.            instprops book_title8
  1477.    end
  1478.  
  1479. end
  1480.  
  1481.  
  1482.  
  1483. defobj book9
  1484.  
  1485.    polygon 4
  1486.            45 0 30
  1487.            40 0 30
  1488.            40 0 0
  1489.            45 0 0
  1490.            instprops book_title9
  1491.    end
  1492.  
  1493. end
  1494.  
  1495.  
  1496.  
  1497. defobj book10
  1498.  
  1499.    polygon 4
  1500.            50 0 30
  1501.            45 0 30
  1502.            45 0 0
  1503.            50 0 0
  1504.            instprops book_title10
  1505.    end
  1506.  
  1507. end
  1508.  
  1509.  
  1510.  
  1511. defobj vertical_books           /* note that the individual books */
  1512.                                  /*      are not ed         */
  1513.    instobj book1
  1514.    end
  1515.  
  1516.    instobj book2
  1517.    end
  1518.  
  1519.    instobj book3
  1520.    end
  1521.  
  1522.    instobj book4
  1523.    end
  1524.  
  1525.    instobj book5
  1526.    end
  1527.  
  1528.    instobj book6
  1529.    end
  1530.  
  1531.    instobj book7
  1532.    end
  1533.  
  1534.    instobj book8
  1535.    end
  1536.  
  1537.    instobj book9
  1538.    end
  1539.  
  1540.    instobj book10
  1541.    end
  1542.  
  1543. end
  1544.  
  1545.  
  1546.  
  1547. defobj bookcase_with_books
  1548.  
  1549.    instobj bookcase
  1550.    end
  1551.    
  1552.  
  1553.    instobj vertical_books   
  1554.       shift 2 0 164
  1555.    end
  1556.    
  1557.  
  1558.    instobj vertical_books   
  1559.       shift 52 0 164
  1560.    end
  1561.    
  1562.  
  1563.    instobj vertical_books   
  1564.       shift 2 0 124
  1565.    end
  1566.    
  1567.  
  1568.    instobj vertical_books   
  1569.       shift 52 0 124
  1570.    end
  1571.    
  1572.  
  1573.    instobj vertical_books   
  1574.       shift 2 0 84
  1575.    end
  1576.    
  1577.  
  1578.    instobj vertical_books   
  1579.       shift 52 0 84
  1580.    end
  1581.    
  1582.  
  1583.    instobj vertical_books   
  1584.       shift 2 0 44
  1585.    end
  1586.    
  1587.  
  1588.    instobj vertical_books   
  1589.       shift 52 0 44
  1590.    end
  1591.  
  1592.  
  1593.    instobj vertical_books   
  1594.       shift 2 0 2
  1595.    end
  1596.    
  1597.  
  1598.    instobj vertical_books   
  1599.       shift 52 0 2
  1600.    end
  1601.    
  1602. end
  1603.  
  1604.  
  1605.  
  1606. defobj table_top
  1607.  
  1608.    instobj unit_cube
  1609.       instprops mint_cream
  1610.       scale 20 15 4
  1611.    end 
  1612.  
  1613. end
  1614.  
  1615.  
  1616.  
  1617. defobj table_leg
  1618.  
  1619.    instobj unit_cube
  1620.       instprops oak     
  1621.       scale 2 2 20
  1622.    end
  1623.  
  1624. end   
  1625.  
  1626.  
  1627.  
  1628. defobj table
  1629.  
  1630.    instobj table_top
  1631.       shift 0 0 20
  1632.    end
  1633.    
  1634.  
  1635.    instobj table_leg
  1636.       shift 2 2 0
  1637.    end
  1638.    
  1639.  
  1640.    instobj table_leg
  1641.       shift 16 2 0
  1642.    end
  1643.    
  1644.  
  1645.    instobj table_leg
  1646.       shift 16 11 0
  1647.    end
  1648.    
  1649.  
  1650.    instobj table_leg
  1651.       shift 0 11 0
  1652.    end
  1653.    
  1654.  
  1655. end
  1656.  
  1657.  
  1658.  
  1659. defobj window_glass
  1660.  
  1661.     polygon 4
  1662.             0 66 235
  1663.             0 0  235
  1664.             0 0  125
  1665.             0 66 125
  1666.             instprops glass
  1667.     end
  1668.  
  1669. end
  1670.  
  1671.  
  1672.  
  1673. defobj walls
  1674.  
  1675.     /* windows between room and Mary's office and Terry's office*/
  1676.     instobj window_glass
  1677.        shift 0 5 0
  1678.     end
  1679.     
  1680.  
  1681.     instobj window_glass
  1682.        shift 0 76 0
  1683.     end
  1684.     
  1685.  
  1686.     instobj window_glass
  1687.        shift 0 147 0
  1688.     end
  1689.     
  1690.     
  1691.     instobj window_glass
  1692.        shift 0 218 0
  1693.     end
  1694.     
  1695.  
  1696.     instobj window_glass
  1697.        shift 0 289 0
  1698.     end
  1699.     
  1700.  
  1701.     instobj window_glass
  1702.        shift 0 437 0
  1703.     end
  1704.     
  1705.  
  1706.     instobj window_glass
  1707.        shift 0 570 0
  1708.     end
  1709.     
  1710.  
  1711.     instobj window_glass
  1712.        shift 0 583 0
  1713.     end
  1714.     
  1715.  
  1716.     instobj window_glass
  1717.        shift 0 656 0
  1718.     end
  1719.     
  1720.  
  1721.     /* door handle */
  1722.     instobj unit_cube
  1723.        instprops silver
  1724.        scale 4 10 4
  1725.        shift 0 370 120
  1726.     end
  1727.     
  1728.  
  1729.     polygon 8
  1730.             0 730 240
  1731.             0 0   240
  1732.             0 0   120
  1733.             0 360 120
  1734.             0 360 200
  1735.             0 430 200
  1736.             0 430 120
  1737.             0 730 240
  1738.             instprops zinc_white
  1739.     end
  1740.     
  1741.  
  1742.     polygon 4
  1743.             0 425 235
  1744.             0 365 235
  1745.             0 365 205
  1746.             0 425 205
  1747.             instprops glass
  1748.     end
  1749.        
  1750.  
  1751.     polygon 4
  1752.             0 360 120
  1753.             0 0   120
  1754.             0 0   10
  1755.             0 360 10
  1756.             instprops ivory
  1757.     end
  1758.     
  1759.  
  1760.     polygon 4
  1761.             0 360 10
  1762.             0 0   10
  1763.             0 0   0
  1764.             0 360 0
  1765.             instprops lamp_black
  1766.     end
  1767.     
  1768.  
  1769.     polygon 4
  1770.             0 730 120
  1771.             0 430 120
  1772.             0 430 10
  1773.             0 730 10
  1774.             instprops ivory
  1775.     end
  1776.     
  1777.  
  1778.     polygon 4
  1779.             0 730 10
  1780.             0 430 10
  1781.             0 430 0
  1782.             0 730 0
  1783.             instprops lamp_black
  1784.     end
  1785.     
  1786.  
  1787.     /* door */
  1788.     polygon 4
  1789.             0 430 200
  1790.             0 360 200
  1791.             0 360 0
  1792.             0 430 0
  1793.             instprops pine
  1794.     end            
  1795.  
  1796.     /* far wall */
  1797.     polygon 4
  1798.             512 730 240
  1799.             0   730 240
  1800.             0   730 10
  1801.             512 730 10
  1802.             instprops ghost_white
  1803.     end
  1804.     
  1805.  
  1806.     polygon 4
  1807.             512 730 10
  1808.             0   730 10
  1809.             0   730 0
  1810.             512 730 0
  1811.             instprops lamp_black
  1812.     end     
  1813.     
  1814.  
  1815.     /* wall between room and print room */
  1816.     polygon 8
  1817.             512 0   240
  1818.             512 730 240
  1819.             512 730 10  
  1820.             512 700 10
  1821.             512 700 200
  1822.             512 600 200
  1823.             512 600 10
  1824.             512 0   10
  1825.             instprops ivory
  1826.     end
  1827.     
  1828.  
  1829.     polygon 4
  1830.             512 700 10
  1831.             512 730 10
  1832.             512 730 0
  1833.             512 700 10
  1834.             instprops lamp_black
  1835.     end
  1836.     
  1837.  
  1838.     polygon 4
  1839.             512 0   10
  1840.             512 600 10
  1841.             512 600 0
  1842.             512 0   0
  1843.             instprops lamp_black
  1844.     end
  1845.     
  1846.  
  1847.     /* door between room and print room */
  1848.     polygon 4
  1849.             512 600 200
  1850.             512 700 200
  1851.             512 700 0
  1852.             512 600 0
  1853.             instprops pine
  1854.     end
  1855.    
  1856. end    
  1857.  
  1858.  
  1859.  
  1860. defobj flu_light
  1861.  
  1862.    instobj unit_cube
  1863.       instprops fluorescent_light
  1864.       scale 211 10 15
  1865.    end
  1866.  
  1867. end
  1868.  
  1869.  
  1870.  
  1871. defobj ceiling
  1872.  
  1873.    instobj flu_light
  1874.       shift 30 175 225
  1875.    end
  1876.    
  1877.  
  1878.    instobj flu_light
  1879.       shift 30 350 225
  1880.    end
  1881.    
  1882.  
  1883.    instobj flu_light
  1884.       shift 30 525 225
  1885.    end
  1886.    
  1887.  
  1888.    instobj flu_light
  1889.       shift 271 175 225
  1890.    end
  1891.    
  1892.  
  1893.    instobj flu_light
  1894.       shift 271 350 225
  1895.    end
  1896.    
  1897.  
  1898.    instobj flu_light
  1899.       shift 271 525 225
  1900.    end
  1901.    
  1902.  
  1903.    polygon 4
  1904.            512 0   240
  1905.            0   0   240
  1906.            0   730 240
  1907.            512 730 240
  1908.            instprops antique_white
  1909.    end
  1910.    
  1911.  
  1912. end
  1913.  
  1914.  
  1915.  
  1916. defobj floor
  1917.   
  1918.    polygon 4 
  1919.            512 730 0
  1920.            0   730 0
  1921.            0   0   0
  1922.            512 0   0
  1923.            instprops alizarin_crimson
  1924.    end
  1925.  
  1926. end
  1927.  
  1928. /* A simple spot light over the only desk in the scene */
  1929.  
  1930. spot 
  1931.   67 400 100
  1932.   67 400 0
  1933.   1.0 1.0 1.0
  1934.   10  45
  1935.  
  1936.    instobj walls
  1937.    end
  1938.    
  1939.  
  1940.    instobj ceiling
  1941.    end
  1942.    
  1943.  
  1944.    instobj floor
  1945.    end
  1946.    
  1947. /*
  1948.    instobj work_desk
  1949.       rotate z 90 
  1950.       shift 67 110 0
  1951.    end
  1952. */   
  1953.  
  1954.    instobj office_chair
  1955.       rotate z -90
  1956.       shift 90 100 0
  1957.    end
  1958.    
  1959.  
  1960.    instobj work_desk
  1961.       shift 67 536 0
  1962.    end
  1963.    
  1964. /*
  1965.    instobj work_desk
  1966.       rotate z 90 
  1967.       shift 67 603 0
  1968.    end
  1969.    
  1970.  
  1971.    instobj work_desk
  1972.       shift 67 663 0
  1973.    end
  1974.    
  1975.  
  1976.    instobj desk  
  1977.       shift 193 663 0
  1978.    end
  1979.    
  1980.  
  1981.    instobj work_desk
  1982.       shift 319 663 0
  1983.    end
  1984.    
  1985.  
  1986.    instobj work_desk
  1987.       rotate z -90
  1988.       shift 512 126 0
  1989.    end
  1990. */   
  1991.  
  1992.    instobj bookcase
  1993.       shift 408 127 0
  1994.    end
  1995.    
  1996.  
  1997.    instobj bookcase_with_books
  1998.       rotate z 180
  1999.       shift 512 154 0
  2000.    end
  2001.     
  2002. /*
  2003.    instobj work_desk
  2004.       rotate z -90
  2005.       shift 512 281 0
  2006.    end
  2007.     
  2008. */
  2009.    instobj desk
  2010.       shift 386 348 0
  2011.    end
  2012.    
  2013.  
  2014.    instobj table 
  2015.       shift 220 500 0
  2016.    end
  2017.    
  2018.  
  2019.  
  2020.  
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.